package easier.window.dialog.bottom;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import androidx.annotation.Nullable;
import easier.window.dialog.BaseDialogFragment;

/**
 * 创建底部弹窗,需要自己实现创建布局{@link BaseDialogFragment#setDialogView(View)}
 */
public class BottomDialogFragment extends BaseDialogFragment {

    @Override
    protected Dialog createDialog( Context context, @Nullable Bundle savedInstanceState ) {
        /* 返回BottomDialog */
        return new BottomDialog( getActivity() );
    }
}